﻿<Window x:Class="remes.BLoc.UI.StdOutputWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Executing" Height="500" Width="700" Loaded="Window_Loaded">

  <DockPanel Margin="3">
    <TextBlock DockPanel.Dock="Top" TextWrapping="Wrap" Margin="3"
               Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}}, Path=Description}"/>
    <StackPanel DockPanel.Dock="Bottom" HorizontalAlignment="Right" Orientation="Horizontal">
      <Button Content="Close" x:Name="CloseButton" IsEnabled="False" Margin="3" Padding="2,1" MinWidth="75" Click="CloseButton_Click"/>
    </StackPanel>
    
    <TextBox x:Name="OutputTextBox" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Margin="3"/>
  </DockPanel>
</Window>
